package com.hqyj.ssm_project.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;


public class AttendanceDate {
    private Integer attendanceId;

    private Integer userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date brushDate;
    private AttendanceTime attendanceTime;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public AttendanceTime getAttendanceTime() {
        return attendanceTime;
    }

    public void setAttendanceTime(AttendanceTime attendanceTime) {
        this.attendanceTime = attendanceTime;
    }

    public Integer getAttendanceId() {
        return attendanceId;
    }

    public void setAttendanceId(Integer attendanceId) {
        this.attendanceId = attendanceId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getBrushDate() {
        return brushDate;
    }

    public void setBrushDate(Date brushDate) {
        this.brushDate = brushDate;
    }

    @Override
    public String toString() {
        return "AttendanceDate{" +
                "attendanceId=" + attendanceId +
                ", userId=" + userId +
                ", brushDate=" + brushDate +
                '}';
    }
}